﻿using ProjectManage.Core.Entity.SYS;

namespace ProjectManage.Application.System.SendData
{
    public class RoleSendData : IEntitySeedData<SysRole>
    {
        // 配置种子数据
        public IEnumerable<SysRole> HasData(DbContext dbContext, Type dbContextLocator)
        {
            return new List<SysRole>
            {
                new SysRole { Id = new Guid("0a5096cc-0635-4c88-bf48-b2013a3612be"),
                              RoleName="系统管理员",
                              RoleCode ="SystemAdmin",
                              Creater ="Admin",
                              CreatedName ="管理员",
                              CreatedTime = DateTime.Now},
            };
        }
    }
}
